package com.masterlu.module.product.controller.app.liked.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

@Schema(description = "用户 APP - 评论收藏的单个 Request VO") // 用于收藏、取消收藏、获取收藏
@Data
public class AppLikedReqVO {

    @Schema(description = "评论 SPU 编号", requiredMode = REQUIRED, example = "29502")
    @NotNull(message = "评论 SPU 编号不能为空")
    private Long commentId;

    @Schema(description = "点赞是否删除", requiredMode = REQUIRED, example = "29502")
    @NotNull(message = "点赞是否删除不能为空")
    private Boolean liked;
}